<?
$r = "../";
require_once($r."_engine/header_nocache.php");
require_once($r."_engine/types.php");
require_once($r."_engine/c_table_editor_accounts.php");

$title = "Edit Account";
include "_header.php";


$data = $te_accounts->GetDataForEdit();
$todo = "update";
?>

<form action="accounts_process.php" method="post" name="f">
<input type="Hidden" name="todo" value="<?=@$todo?>">
<input type="Hidden" name="id" value="<?=@$data["id"]?>">

<table cellspacing="5" cellpadding="0" style="margin-left: 5;">
<tr>
	<td colspan="2" class="tdH">General</td>
</tr>
<tr>
	<td><span class="text">ID:</span></td>
	<td><span class="textStd"><?=@$data["id"]?></span></td>
</tr>
<tr>
	<td><span class="text">E-mail:</span></td>
	<td><span class="textStd"><input type="Text" name="f_email" value="<?=htmlspecialchars(@$data["email"])?>" style="width:230" 
		class="input2" class="input2" onFocus="this.className='input2_act'" onBlur="this.className='input2'"></span></td>
</tr>
<tr>
	<td><span class="text">E-mail BCC:</span></td>
	<td><span class="textStd"><input type="Text" name="f_email_bcc" value="<?=htmlspecialchars(@$data["email_bcc"])?>" style="width:230" 
		class="input2" class="input2" onFocus="this.className='input2_act'" onBlur="this.className='input2'"></span></td>
</tr>


<tr><td colspan="2">&nbsp;</td></tr>
<tr>
	<td colspan="2" align="right"><span class="textStd">
		<input type="Submit" value="Save" style="width: 150;" class="button2" onMouseOver="this.className='button2_act'" onMouseOut="this.className='button2'">
	</td>
</tr>
</table>
</form>


<?
include "_footer.php";
?>
